//
//  AppDelegate.swift
//  xlwb-swift
//
//  Created by 王世清 on 16/4/16.
//  Copyright © 2016年 wsq. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        //
        setupAppearance()
        
        window = UIWindow(frame: UIScreen.mainScreen().bounds)
        window?.backgroundColor = UIColor.whiteColor()
        window?.rootViewController = MainViewController()
        window?.makeKeyAndVisible()
        
        return true
    }
    ///设置全局外观
    private func setupAppearance() {
        UINavigationBar.appearance().tintColor = WBAppearanceTincolor
        UITabBar.appearance().tintColor = WBAppearanceTincolor
    }


}

